package Demo2;

//密封类
//sealed class Animal permits Dog{
//
//}
//
//non-sealed class Dog extends Animal{
//
//}
//
//class Cat extends Animal{
//
//}


public class Test2 {
    public static void main(String[] args) {
        //密封类


    }
}
